﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Notice_New.aspx.cs" Inherits="HealthSystem.sysAdmin.Notice_New" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" AutoSizePanelID="p1" />
    <ext:Panel runat="server" ID="p1" ShowBorder="false" ShowHeader="false" BodyPadding="10px">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button runat="server" Text="保存" ID="btnSave" Icon="SystemSave" OnClick="btnSave_Click" ValidateForms="form2"></ext:Button>
                    <ext:Button runat="server" Text="保存并发送" ID="btnSaveSend" Icon="SystemSave" OnClick="btnSaveSend_Click" ValidateForms="form2"></ext:Button>
                    <ext:Button runat="server" Text="关闭" ID="btnClose" Icon="SystemClose"></ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Form runat="server" ShowBorder="false" ShowHeader="false" ID="form2">
                <Rows>
                    <ext:FormRow>
                        <Items>
                           <ext:TextBox runat="server" Label="标题" ID="txtTitle" MaxLength="50" MaxLengthMessage="最大长度为50"></ext:TextBox>
                        </Items>
                    </ext:FormRow>
                </Rows>
                <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:TextArea runat="server" Label="内容" ID="txtContent" Required="true"></ext:TextArea>
                        </Items>
                    </ext:FormRow>
                </Rows>
               <%-- <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:DatePicker runat="server" ID="txtStartDate" Label="开始有效时间" Required="true" Width="200px"></ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                </Rows> 
                 <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:DatePicker runat="server" ID="txtEndDate" Label="结束有效时间" Required="true" Width="200px"></ext:DatePicker>
                        </Items>
                    </ext:FormRow>
                </Rows>--%>
               <%-- <Rows>
                    <ext:FormRow>
                        <Items>
                            <ext:CheckBox ID="allorg" runat="server" Text="所有机构" Label="接收人"></ext:CheckBox>
                            <ext:CheckBox ID="allschool" runat="server" Text="所有学校"></ext:CheckBox>
                        </Items>
                    </ext:FormRow>
                </Rows>
                <Rows>
                    
                    <ext:FormRow>
                        <Items>
                            <ext:Panel runat="server" Layout="Fit">
                                <Toolbars>
                                    <ext:Toolbar runat="server">
                                        <Items>
                                            <ext:Button Text="自选择接收人" runat="server"></ext:Button>
                                        </Items>
                                    </ext:Toolbar>
                                    
                                </Toolbars>
                                <Items>
                                    <ext:Grid ID="grid2" runat="server">
                                        <Columns>
                                        </Columns>
                                    </ext:Grid>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:FormRow>
                </Rows>--%>
            </ext:Form>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
